﻿using NUnit.Framework;

namespace CardGameFramework.Tests
{
    [TestFixture]
    public class CardTests
    {
        private Card _instance = null;

        #region Setup and TearDown
        [SetUp]
        public void Setup()
        {
            _instance = new Card(Suits.Hearts, Ranks.Five);
        }

        [TearDown]
        public void TearDown()
        {
            _instance = null;
        }
        #endregion

        #region Test Methods

        [Test]
        public void Label_ValidCard_ReturnLabel()
        {
            var expected = "H5";
            var result = _instance.Label;
            Assert.AreEqual(expected, result);
        }

        #endregion
    }
}